package com.simon.adapter.adapter;

import com.cmonbaby.adapter.recycleview.RMultiItemTypeAdapter;
import com.simon.adapter.entity.ChatMessage;

import java.util.List;

public class ChatAdapter extends RMultiItemTypeAdapter<ChatMessage> { // LMultiItemTypeAdapter

    public ChatAdapter(List<ChatMessage> datas) {
        super(datas);

        addItemViewStyles(new MsgSendItemDelagate());
        addItemViewStyles(new MsgComingItemDelagate());
    }

}
